package pojo;

import java.io.Serializable;

public class Department implements Serializable {
    private int departmentId;
    private String name;

    public int getId() {
        return departmentId;
    }

    public String getName() {
        return name;
    }

    public void update(int id,String name){
        this.departmentId = id;
        this.name = name;
    }
    public Department() {
    }

    public Department(int departmentId, String name) {
        this.departmentId = departmentId;
        this.name = name;
    }
}
